package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 团购商品中间表
 */
public class TbGroupbuCommodity implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 团购ID
     */
    private Integer groupbuyid;

    /**
     * 商品ID
     */
    private Integer commodityid;

    /**
     * 团购初始价格
     */
    private Float price;

    /**
     * 库存
     */
    private Integer reserve;

    /**
     * 是否删除(0 未删除  1 删除)
     */
    private Integer isdelete;

    /**
     * 是否开团（0 未开团  1 已开团  2 已结束）
     */
    private Integer isopen;

    /**
     * 开团时间
     */
    private Date opentime;

    /**
     * 结束时间
     */
    private Date endtime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGroupbuyid() {
        return groupbuyid;
    }

    public void setGroupbuyid(Integer groupbuyid) {
        this.groupbuyid = groupbuyid;
    }

    public Integer getCommodityid() {
        return commodityid;
    }

    public void setCommodityid(Integer commodityid) {
        this.commodityid = commodityid;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getReserve() {
        return reserve;
    }

    public void setReserve(Integer reserve) {
        this.reserve = reserve;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    public Integer getIsopen() {
        return isopen;
    }

    public void setIsopen(Integer isopen) {
        this.isopen = isopen;
    }

    public Date getOpentime() {
        return opentime;
    }

    public void setOpentime(Date opentime) {
        this.opentime = opentime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }
}